<?php

namespace App\Http\Controllers;


use Illuminate\Support\Facades\Response;

class BaseController extends Controller
{

    public function checkLogin()
    {

        $exhibitor_information_id = session()->get('exhibitor_information_id');
        $exhibitor_message_id = session()->get('exhibitor_message_id');

        if (!$exhibitor_message_id) {

            return $this->failure('数据错误');
        }
        if (!$exhibitor_information_id) {
            return $this->failure('重新登录');
        }
    }

}
